package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.model.dto.LoginFormDTO;
import com.example.model.dto.Result;
import com.example.model.entity.User;
import com.example.model.vo.UserVO;

import javax.servlet.http.HttpServletRequest;


/**
 * @program: backed
 * @author: zk
 * @create: 2023-03-23 19:13
 **/

public interface IUserService extends IService<User> {
    Result login(LoginFormDTO loginForm, HttpServletRequest request);

    Result register(LoginFormDTO loginForm);

    Result getUserMsg(HttpServletRequest request);

    UserVO getLoginUser(HttpServletRequest request);

    Result logout(HttpServletRequest request);
}
